.search-event {
  position: relative;
  padding-top: 3px;
  margin-right: 20px;
  a {
    font-size: 16px;
    color: #333;
    text-decoration: none;
  }
  .hidden{
    display: none;
    .dropdown-content {
      position: absolute;
      top: 100%;
      right: 0;
      display: flex;
      flex-direction: column;
      align-items: center;
      width: 100px;
      background: linear-gradient(to bottom, rgba(255, 255, 255, 0.7) 60%, rgba(255, 255, 255, 1) 100%);
      border-radius: 20px 20px 5px 5px;
      span {
        width: 100%;
        padding: 5px;
        box-sizing: border-box;
        text-align: center;
        font-size: 15px;
        cursor: pointer;
        &:first-child{
          margin-top: 15px;
        }
        &:hover {
          background-color: rgba(0, 255, 255, 0.2);
        }
      }
    }
  }
}

.search-event:hover .arrow-down {
  transform: rotate(0);
}

.search-event:hover .hidden {
  display: block;
}

.hidden:hover{
  display: block;
}

.searchInput {
  position: absolute;
  top: 80px;
  left: 50%;
  width: 300px;
  height: 40px;
  margin-left: -150px;
  z-index: 1;
  .el-input {
    width: 100%;
    height: 100%;
  }
  .search-icon {
    transform: rotate(0deg);
  }
  :deep(.el-input-group__append) {
    width: 50px;
    padding: 0;
    img {
      width: 100%;
      transform: scale(50%);
    }
  }
}

#popup {
  display: none !important;
  z-index: -1;
  width: 300px;
  position: fixed;
  left: 20px;
  top: 20px;
  background-color: #fff;
  border-radius: 5px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
  padding: 5px;
  font-size: 14px;
  color: #333;
  line-height: 1.5;
  overflow: hidden;
  transition: all 0.3s ease;
  &::before {
    display: block;
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    border: 10px solid transparent;
    border-top-color: #000;
  }
  .top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    font-weight: bold;
    font-size: 18px;
    button {
      background-color: transparent;
      border: none;
      cursor: pointer;
      font-size: 16px;
      color: #333;
      &:hover {
        color: #f00;
      }
    }
  }
  .event-info {
    width: 100%;
    th {
      min-width: 100px;
      text-align: left;
      padding-right: 10px;
      font-weight: bold;
      font-size: 16px;
      color: #333;
    }
    td {
      text-align: right;
      padding-left: 10px;
      font-size: 14px;
      color: #666;
      border-left: 1px solid #ccc;
    }
    tr:last-child td {
      border-bottom: none;
    }
    tr td:last-child {
      border-right: none;
    }
  }
}